<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/6
  Time: 12:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../../css/header/style1.css">
<link rel="stylesheet" type="text/css" href="../../css/header/nprogress.css">
<link rel="stylesheet" type="text/css" href="../../css/font-awesome.min.css">
<link rel="stylesheet" href="../../css/show/show.css">
<body class="user-select single">
<!-- 顶部导航结束 -->
<div class="container">
    <div class="content-wrap">
        <div class="content">
            <div class="article-header">
                <h1 class="article-title">
                    <a href="article/${article.getArticleId()}"
                       title="用DTcms做一个独立博客网站（响应式模板）">${article.getTitle()}</a>
                </h1>
                <input type="hidden" id="articleId" value="${article.getArticleId()}">
                <div class="article-meta">
						<span class="item article-meta-source">
							<i class="glyphicon glyphicon-user"></i> ${article.getUserInfo().getNickName()}
						</span>
                    <span class="item article-meta-time">
							<span class="time" title="发表时间：2016-10-14">
								<i class="glyphicon glyphicon-time"></i> ${article.articleDate}
							</span>
                    </span>
                </div>
            </div>
            <article class="article-content">
                ${article.getContent()}
            </article>
            <div class="article-tags">
                标签：
                <c:forEach items="${tags}" var="tag">
                    <a class="cat" href="#" disabled>${tag.tagName}<i></i>
                    </a>
                </c:forEach>
            </div>
        </div>
    </div>

    <aside class="sidebar">
        <h3>文章封面</h3>
        <div class="widget widget_sentence">
            <a href="http://www.muzhuangnet.com/show/269.html" target="_blank" rel="nofollow" title="封面" >
                <img style="width: 100%" src="../../${article.articlePicture}" alt="" ></a>
        </div>
    </aside>
</div>

</body>
<script src="js/jquery-3.1.1.js"></script>
<script src="js/jquery.lazyload.min.js"></script>
</html>
